package com.busi.model;

import java.math.BigDecimal;
import java.sql.Timestamp;
/**
 * ******************  类说明  *********************
 * class       :  Order
 * @author     :  薛泽荣
 * @version    :  1.0  
 * description :  订单类
 * @see        :                        
 * ***********************************************
 */
public class Order extends BaseModel{
	
	private static final long serialVersionUID = 9029196191482932862L;
	
	private String portalid;
	private String orderdate;
	private String orderid;
	private String trace;
	private String goodsid;
	private String merid;
	private String goodsname;
	private Integer goodsnum;
	private Integer goodstype; //0 实物  1 数字商品
	private String mobileid;
	private String userid;
	private Timestamp paytime;
	private Integer paystatus;
	private Integer tracetype; //0 支付  1 退费
	private String addressid;
	private Integer paytype;
	private BigDecimal amount;
	private BigDecimal affixation;
	private String orgtrace;
	private String logisticsname;
	private String expressno;
	private Integer shipstatus;//0 未发货 1 已发货2 已收货3 备货中
	private Integer orderstatus;//0 未确认1 已确认2 已取消3 无效4 退货5退费
	private String payseq;
	private Integer issettle;
	private String settledate;
	private Timestamp delivetime;
	private String mpaygoodsid;
	private Integer delivetype;
	private String remark;
	private Timestamp modtime;
	private Timestamp intime;
	
	//配送地址关联的字段
	private String username;
	private String receivermobileid;//因数据库字段与order表中一致,重命名
	private String tel;
	private String telphone;  //收获手机号字段
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	private String address;
	private String postnum;
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getReceivermobileid() {
		return receivermobileid;
	}
	public void setReceivermobileid(String receivermobileid) {
		this.receivermobileid = receivermobileid;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPostnum() {
		return postnum;
	}
	public void setPostnum(String postnum) {
		this.postnum = postnum;
	}
	public String getPortalid() {
		return portalid;
	}
	public void setPortalid(String portalid) {
		this.portalid = portalid;
	}
	public String getOrderdate() {
		return orderdate;
	}
	public void setOrderdate(String orderdate) {
		this.orderdate = orderdate;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getTrace() {
		return trace;
	}
	public void setTrace(String trace) {
		this.trace = trace;
	}
	public String getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}
	public String getMerid() {
		return merid;
	}
	public void setMerid(String merid) {
		this.merid = merid;
	}
	public String getGoodsname() {
		return goodsname;
	}
	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}
	public Integer getGoodsnum() {
		return goodsnum;
	}
	public void setGoodsnum(Integer goodsnum) {
		this.goodsnum = goodsnum;
	}
	public Integer getGoodstype() {
		return goodstype;
	}
	public void setGoodstype(Integer goodstype) {
		this.goodstype = goodstype;
	}
	public String getMobileid() {
		return mobileid;
	}
	public void setMobileid(String mobileid) {
		this.mobileid = mobileid;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public Timestamp getPaytime() {
		return paytime;
	}
	public void setPaytime(Timestamp paytime) {
		this.paytime = paytime;
	}
	public Integer getPaystatus() {
		return paystatus;
	}
	public void setPaystatus(Integer paystatus) {
		this.paystatus = paystatus;
	}
	public Integer getTracetype() {
		return tracetype;
	}
	public void setTracetype(Integer tracetype) {
		this.tracetype = tracetype;
	}
	public String getAddressid() {
		return addressid;
	}
	public void setAddressid(String addressid) {
		this.addressid = addressid;
	}
	public Integer getPaytype() {
		return paytype;
	}
	public void setPaytype(Integer paytype) {
		this.paytype = paytype;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public BigDecimal getAffixation() {
		return affixation;
	}
	public void setAffixation(BigDecimal affixation) {
		this.affixation = affixation;
	}
	public String getOrgtrace() {
		return orgtrace;
	}
	public void setOrgtrace(String orgtrace) {
		this.orgtrace = orgtrace;
	}
	public String getLogisticsname() {
		return logisticsname;
	}
	public void setLogisticsname(String logisticsname) {
		this.logisticsname = logisticsname;
	}
	public String getExpressno() {
		return expressno;
	}
	public void setExpressno(String expressno) {
		this.expressno = expressno;
	}
	public Integer getShipstatus() {
		return shipstatus;
	}
	public void setShipstatus(Integer shipstatus) {
		this.shipstatus = shipstatus;
	}
	public Integer getOrderstatus() {
		return orderstatus;
	}
	public void setOrderstatus(Integer orderstatus) {
		this.orderstatus = orderstatus;
	}
	public String getPayseq() {
		return payseq;
	}
	public void setPayseq(String payseq) {
		this.payseq = payseq;
	}
	public Integer getIssettle() {
		return issettle;
	}
	public void setIssettle(Integer issettle) {
		this.issettle = issettle;
	}
	public String getSettledate() {
		return settledate;
	}
	public void setSettledate(String settledate) {
		this.settledate = settledate;
	}
	public Timestamp getDelivetime() {
		return delivetime;
	}
	public void setDelivetime(Timestamp delivetime) {
		this.delivetime = delivetime;
	}
	public String getMpaygoodsid() {
		return mpaygoodsid;
	}
	public void setMpaygoodsid(String mpaygoodsid) {
		this.mpaygoodsid = mpaygoodsid;
	}
	public Integer getDelivetype() {
		return delivetype;
	}
	public void setDelivetype(Integer delivetype) {
		this.delivetype = delivetype;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Timestamp getModtime() {
		return modtime;
	}
	public void setModtime(Timestamp modtime) {
		this.modtime = modtime;
	}
	public Timestamp getIntime() {
		return intime;
	}
	public void setIntime(Timestamp intime) {
		this.intime = intime;
	}
}
